package com.lenovo.lcdm.type.dto;

import jakarta.validation.constraints.NotNull;

import java.io.Serializable;
import java.time.Instant;

/**
 * @desc local属性传输类
 * @author xujing
 * @date 2024/1/10
 */
public class LocalAttributeDTO implements Serializable {


    @NotNull
    private Long typeId;


    private Long id;


    private Long groupId;


    @NotNull
    private Long globalAttributeId;


    private String name;


    private String displayName;


    private String dataTypeName;


    private String standardTypeName;


    private boolean multipleValue;


    private String validInputList;


    private String valueSelectionStyle;


    private String valueInputStyle;

    private Integer sortId;


    private String description;


    private String referencedAttribute;


    private String referencedValueProvider;


    private String format;


    private String internalId;

    String objectClass;

    Instant createTime;

    Instant modifyTime;

    String creator;

    String modifier;

    Integer deleted;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    private String defaultValue;

//    private DefaultValueDTO defaultValueDTO;

    private String localAttrType;

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public boolean isMultipleValue() {
        return multipleValue;
    }

    public void setMultipleValue(boolean multipleValue) {
        this.multipleValue = multipleValue;
    }

    public String getValidInputList() {
        return validInputList;
    }

    public void setValidInputList(String validInputList) {
        this.validInputList = validInputList;
    }

    public String getValueSelectionStyle() {
        return valueSelectionStyle;
    }

    public void setValueSelectionStyle(String valueSelectionStyle) {
        this.valueSelectionStyle = valueSelectionStyle;
    }

    public String getValueInputStyle() {
        return valueInputStyle;
    }

    public void setValueInputStyle(String valueInputStyle) {
        this.valueInputStyle = valueInputStyle;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getDataTypeName() {
        return dataTypeName;
    }

    public void setDataTypeName(String dataTypeName) {
        this.dataTypeName = dataTypeName;
    }


    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getLocalAttrType() {
        return localAttrType;
    }

    public void setLocalAttrType(String localAttrType) {
        this.localAttrType = localAttrType;
    }

//    public DefaultValueDTO getDefaultValueDTO() {
//        return defaultValueDTO;
//    }
//
//    public void setDefaultValueDTO(DefaultValueDTO defaultValueDTO) {
//        this.defaultValueDTO = defaultValueDTO;
//    }

    public Long getGlobalAttributeId() {
        return globalAttributeId;
    }

    public void setGlobalAttributeId(Long globalAttributeId) {
        this.globalAttributeId = globalAttributeId;
    }

    public String getStandardTypeName() {
        return standardTypeName;
    }

    public void setStandardTypeName(String standardTypeName) {
        this.standardTypeName = standardTypeName;
    }

    public String getReferencedAttribute() {
        return referencedAttribute;
    }

    public void setReferencedAttribute(String referencedAttribute) {
        this.referencedAttribute = referencedAttribute;
    }

    public String getReferencedValueProvider() {
        return referencedValueProvider;
    }

    public void setReferencedValueProvider(String referencedValueProvider) {
        this.referencedValueProvider = referencedValueProvider;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getInternalId() {
        return internalId;
    }

    public void setInternalId(String internalId) {
        this.internalId = internalId;
    }

    public String getObjectClass() {
        return objectClass;
    }

    public void setObjectClass(String objectClass) {
        this.objectClass = objectClass;
    }

    public Instant getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Instant createTime) {
        this.createTime = createTime;
    }

    public Instant getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Instant modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
}
